Skip to content

fix: link check should ignore certain issues - #980

Merged
a-zw merged 4 commits into
eclipse-score:mainfrom
etas-contrib:relax-link-check
Oct 20, 2026
Merged

a-zw merged 4 commits into
eclipse-score:mainfrom
etas-contrib:relax-link-check

Conversation

@a-zw

@a-zw a-zw commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

📌 Description

We had a case of "403 Client Error: Forbidden" with the link-check.
This is not a good reason for a red check as the build probably just lacks credentials which a browser might have.
So, link-check should be ok with certain HTTP response codes.

🚨 Impact Analysis

  • This change does not violate any tool requirements and is covered by existing tool requirements
  • This change does not violate any design decisions
  • Otherwise I have created a ticket for new tool qualification

✅ Checklist

  • Added/updated documentation for new or changed features
  • Added/updated tests to cover the changes
  • Followed project coding standards and guidelines

@github-actions

Copy link
Copy Markdown
Contributor

Documentation preview for this pull request is available at:
pr-980: https://eclipse-score.github.io/docs-as-code/pr-980/

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The 504 allowlist entry can hide unavailable links, and the public documentation is incomplete.

1 open issue
What changed in this PR

This pull request updates link checking to ignore selected HTTP responses while preserving existing anchor-error handling.

Changes:

  • Adds filtering for selected HTTP status codes.
  • Records ignored links through the existing reporting path.
File Review notes
src/​extensions/​broken_link_fix.py Remove or separately handle 504; update the setup() docstring to document ignored HTTP codes.

Review effort: Lite

Comment thread src/extensions/broken_link_fix.py Outdated
a-zw added 2 commits October 20, 2026 12:48
504 Gateway Timeout is a genuine server-side failure and hides truly dead pages.
@a-zw
a-zw merged commit 2b015f3 into eclipse-score:main Oct 20, 2026
32 checks passed
@a-zw
a-zw deleted the relax-link-check branch October 20, 2026 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants